package com.ywu.api.spi.entity;

import com.ywu.common.entity.CommonEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @ClassName GatewayRouterEntity
 * @Description 网关路由实体类
 * @Author GroundDemo
 * @Date 2024/1/28 17:22
 * @Version 1.0
 **/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ApiRouterEntity extends CommonEntity {
    private String id;

    private String name;

    private String code;

    private String routePath;

    private String predicates;

    private String filters;

    private RouterCORS corsState;

    private String applicationName;

    private Boolean commonType;

    private Boolean timeOut;

    private Integer timeOutNum;
}
